<?php
class contact{
	private $id;
	private $name;
	private $email;
	private $subject;
	private $content;
	private $date;
	// set get id
	public function setid($id) {
		$this->id = $id;
	}
	public function getid() {
		return $this->id;
	}
	// set get name
	public function setname($name) {
		$this->name = $name;
	}
	public function getname() {
		return $this->name;
	}
	// set get email
	public function setemail($email) {
		$this->email = $email;
	}
	public function getemail() {
		return $this->email;
	}
	// set get subject
	public function setsubject($subject) {
		$this->subject = $subject;
	}
	public function getsubject() {
		return $this->subject;
	}
	// set get content
	public function setcontent($content) {
		$this->content = $content;
	}
	public function getcontent() {
		return $this->content;
	}
	// set get date
	public function setdate($date) {
		$this->date = $date;
	}
	public function getdate() {
		return $this->date;
	}
}

?>